<form class="article" action="<?php echo $adminUrl; ?>/article" method="post">
  <table>
    <thead></thead>
    <tfoot>
      <tr>
        <td></td>
        <td>
          <input type="hidden" name="articleId" value="<?php echo $article->id; ?>" />
          <input type="submit" name="action" value="Preview" />
          <input type="submit" name="action" value="Post" />
        </td>
      </tr>
    </tfoot>
  
    <tbody>
      <tr>
        <th scope="row">
          <label for="articleTitle">Title</label>
        </th>
  
        <td>
          <input type="text" name="articleTitle" id="articleTitle"
              maxlength="255"
              value="<?php echo htmlentities($article->title); ?>" />
        </td>
      </tr>
  
      <tr>
        <th scope="row">
          <label for="articleContent">Content</label>
        </th>
  
        <td>
          <textarea name="articleContent" id="articleContent" rows="20"
              cols="60"><?php echo htmlentities($article->content); ?></textarea>
        </td>
      </tr>
  
      <tr>
        <th scope="row">
          <label for="articleTags">Tags</label>
        </th>
  
        <td>
          <input type="text" id="articleTags" name="articleTags" maxlength="255"
              value="<?php echo htmlentities(implode(', ', $article->tags)); ?>" />
        </td>
      </tr>
      
      <tr class="tip">
        <td></td>
        <td>
          Separate multiple tags with commas (e.g., "monkeys, pirates, pirate
          monkeys, ninjas").
        </td>
      </tr>
    </tbody>
  </table>
</form>